Summary

[ summary] [ package list] [ test cases]

Tests Errors Failures Success rate Time(s)
38 0 0 100.00% 3.08

Note: failuresare anticipated and checked for with assertions while errorsare unanticipated.

Package List

[ summary] [ package list] [ test cases]

Package Tests Errors Failures Success Rate Time
ca.spaz.cron 1 0 0 100.00% 0.48
ca.spaz.cron.datasource 26 0 0 100.00% 1.64
ca.spaz.cron.datasource.sql 10 0 0 100.00% 0.82
ca.spaz.util 1 0 0 100.00% 0.14

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

ca.spaz.cron

Class Tests Errors Failures Success Rate Time
Success CRONConfigurationTest 1 0 0 100.00% 0.483

ca.spaz.cron.datasource

Class Tests Errors Failures Success Rate Time
Success SQLDatasourceTest 26 0 0 100.00% 1.639

ca.spaz.cron.datasource.sql

Class Tests Errors Failures Success Rate Time
Success SQLFoodImplTest 10 0 0 100.00% 0.821

ca.spaz.util

Class Tests Errors Failures Success Rate Time
Success CacheMapTest 1 0 0 100.00% 0.138

Test Cases

[ summary] [ package list] [ test cases]

CRONConfigurationTest

Success testGetPropertyStringboolean 0.17

SQLDatasourceTest

Success testCreateReadonlyFoodSource 0.78
Success testCreatePersonalFoodSource 0.06
Success testGetConsumedOn 0.03
Success testGetSources 0.04
Success testGetFoodGroups 0.03
Success testIsSearchable 0.04
Success testIsListable 0.05
Success testAddFood 0.04
Success testCreateNewFood 0.04
Success testAddFoodDatasourceListener 0.02
Success testAddMeasure 0.03
Success testChangeConsumedAmount 0.03
Success testChangeMeasure 0.06
Success testConsumeFood 0.03
Success testGetTimesConsumedFood 0.02
Success testGetTimesConsumedFoodDateDate 0.03
Success testRemoveFood 0.03
Success testRemoveFoodDatasourceListener 0.02
Success testRemoveMeasure 0.02
Success testUnConsumeFood 0.03
Success testFindAllFoods 0.02
Success testFindFoodsStringArray 0.03
Success testFindFoodsStringArrayStringString 0.03
Success testGetMeasuresFor 0.03
Success testGetName 0.02
Success testGetNutrientsFor 0.02

SQLFoodImplTest

Success testSQLFood 0.52
Success testGetFoodGroup 0.04
Success testGetSource 0.04
Success testGetCalories 0.03
Success testGetNutrientAmount 0.03
Success testSetNutrientAmount 0.02
Success testSetFoodGroup 0.02
Success testGetNumTimesConsumed 0.02
Success testGetDataSource 0.02
Success testSetMeasures 0.02

CacheMapTest

Success testPut 0.12